<div class="row">
  <div class="col-sm-5 leftCon" >
    <input
      type='text'
      id="sId"
      class="form-control pname"
      placeholder='ID'
    />
  </div>
  <div class="col-sm-5">
    <input
      type='text'
      id="sName"
      class="form-control"
      placeholder='名称'
    />
  </div>
  <div class="col-sm-1">
    <button id="btn_apply" type="button" class="btn btn-default btn-sm" (click)="search()">
      <i class="fa fa-search searchName"></i>
    </button>
  </div>
</div>
<div class="row">
  <nz-table #nzTable
            [nzBordered]="true"
            [nzAjaxData]="_dataSet"
            [nzShowSizeChanger]="true"
            [nzTotal]="_total"
            [(nzPageIndex)]="_current"
            (nzPageIndexChange)="refreshData()"
            [(nzPageSize)]="_pageSize"
            (nzPageSizeChange)="refreshData(true)"
            (nzDataChange)="_displayDataChange($event)"
            [nzScroll]="{ y: 300 }">
    <ng-template #nzFixedHeader>
      <thead nz-thead>
      <tr class="tableTitle">
        <th nz-th [nzWidth]="'50%'">
          <span>代号</span>
        </th>
        <th nz-th [nzWidth]="'50%'">
          <span>名称</span>
        </th>
      </tr>
      </thead>
    </ng-template>
    <tbody nz-tbody>
    <tr nz-tbody-tr *ngFor="let data of nzTable.data" (click)="getDriverInfo(data)">
      <td nz-td>&nbsp;&nbsp;{{data.id}}</td>
      <td nz-td>{{data.name}}</td>
    </tr>
    </tbody>
  </nz-table>
</div>


